write the first five terms of a sequence